<template>
  <div class="common-layout">
    <el-container class="home-container">
      <el-aside width="200px">
        <HomeAside></HomeAside>
      </el-aside>
      <el-container>
        <el-header>Header</el-header>
        <el-main>
          <HomeMain></HomeMain>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup>
import HomeAside from '../components/home/HomeAside.vue'
import HomeMain from '../components/home/HomeMain.vue'
</script>

<!-- scoped : 样式只对本组件生效  -->
<style scoped>
/* #67C23A */
.el-aside {
  background-color: #409eff;
}
.home-container {
  width: 100%;
  height: 100%;
}
.common-layout {
  height: 100vh;
}
</style>
